package com.system.announcement.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;


import com.system.announcement.entity.Announcement;




public interface IAnnouncementService {
	public void saveOrUpdate(Announcement announcement);
	public void delete(Announcement announcement);
	public void delete(List<Long> ids);
	public Announcement findOne(Long id);
	public Announcement findLast();
	public Page<Announcement> findAll(Pageable pageable);
}
